const reg = {
    phone: /^1[3-9]\d{9}$/,
    password: /^(?=.*[0-9])(?=.*[a-zA-Z])[0-9a-zA-Z]{6,20}$/,
    code: /^\d{6}$/,
    formatMoney: /(?!^)(?=(\d{3})+(\.|$))/g,
    idCard: /^(\d{15}|\d{18}|\d{17}(x|X))$/,
    name: /^[\u4e00-\u9fa5]{2,}$/
};

export default reg